let express= require("express");
let router= express.Router();

/**
 * @swagger
 * /classes:
 *   get:
 *     tags:
 *       - 班级模块
 *     description: 查询所有班级
 *     produces:
 *       - application/json
 *     responses:
 *       200:
 *         description: 返回一个操作结果对象
 */
router.get("/",(req,res)=>{
    res.json({"code":0,"msg":"ok"})
})

/**
 * @swagger
 * /classes:
 *   post:
 *     tags:
 *       - 班级模块
 *     description: 添加班级
 *     produces:
 *       - application/json
 *     responses:
 *       200:
 *         description: 返回一个操作结果对象
 */
 router.post("/",(req,res)=>{
    res.json({"code":0,"msg":"ok"})
})




module.exports=router;
